<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!-- Standard JSF tag library declaration -->
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<!-- RichFaces tag library declaration -->
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<f:subview id="svUserInfo">
	<rich:layout>
		<rich:layoutPanel position="center" width="100%">
			<h:outputText value="#{user.userInfo}" styleClass="userInfo" />
		</rich:layoutPanel>
		<rich:layoutPanel position="right">
			<a4j:commandLink id="logoutCommand" value="Изход"
				action="#{user.logout}" />
		</rich:layoutPanel>
	</rich:layout>
</f:subview>